//
//  MBProgressHUD+Loading.h
//  iosCharge
//
//  Created by SX L on 2017/8/25.
//  Copyright © 2017年 sushitong. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (Loading)

//添加提示文字
+ (void)showMsgInView:(UIView *)view msg:(NSString *)msg delay:(NSTimeInterval)delay;
+ (void)showMsgInView:(UIView *)view msg:(NSString *)msg;
+ (void)showMsgInWindow:(NSString *)msg;

//添加提示菊花
+ (void)showLoadingInView:(UIView *)view msg:(NSString *)msg;
+ (void)showLoadingInView:(UIView *)view;
+ (void)showLoadingInWindow;

//带图片的提示
+ (void)showSuccessMsg:(NSString *)msg;
+ (void)showErrorMsg:(NSString *)msg;
+ (void)showInfoMsg:(NSString *)msg;
+ (void)showWarnMsg:(NSString *)msg;

//隐藏view中所有的HUD
+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUDForWindow;

@end
